<?php

namespace Tests\Feature;

use Tests\TestCase;

class ZipcodeControllerTest extends TestCase
{
  public static function setUpBeforeClass(): void
  {
    self::$model = 'App\Models\Zipcode';
    self::$table = 'zipcodes';
    self::$searchExpr = 'city_id=[eq]991&zipcode=[eq]09040';
    self::$searchRecord = ['city_id', '=', '991', 'zipcode', '=', '09040'];
    self::$toIns = [
      'city_id' => 5574,
      'zipcode' => '99999',
    ];
    self::$searchToUpd = ['city_id', '=', '5574', 'zipcode', '=', '99999'];
    self::$toUpd = ['zipcode' => '99998'];
    self::$searchToDel = ['city_id', '=', '5574', 'zipcode', '=', '99998'];
  }
}
